﻿using W2R.Core.Models.DataAccess;

namespace W2R.Core.DataAccess.Support
{
    /// <summary>
    /// Factory for unit of work
    /// </summary>
    public static class UnitOfWorkFactory
    {
        /// <summary>
        /// Creates a new Unit Of work Instance
        /// </summary>
        /// <returns></returns>
        public static IUnitOfWork CreateNew()
        {
            return new W2RUnitOfWork();
        }
    }
}
